<?php

namespace app\supplier\controller;

use app\supplier\validate\CompanyOrderDetailValidate;
use app\service\traits\Crud;
use app\supplier\model\CompanyOrderDetail as CompanyOrderDetailModel;

class CompanyOrderDetail extends Base
{
    private CompanyOrderDetailModel $model;

    use Crud;

    public function initialize()
    {
        parent::initialize();
        $this->model         = new CompanyOrderDetailModel();
        $this->validateClass = CompanyOrderDetailValidate::class;
        $this->withSearch    = 'supplier_id';
    }
}